<?php

namespace app\admin\model;

use think\Model;

class Synlogs extends Model
{
    // 表名
    protected $name             = 'sys_synlogs';
    protected $pk               = 'id';


    //组织
    public function forg()
    {
        return $this->belongsTo('BdOrg', 'forgid');
    }
    //数据中心
    public function datacenter()
    {
        return $this->belongsTo('BdDatacenter', 'fk_bdl_bd_datacenter','fnumber');
    }




}
